﻿namespace Jinjia.Approve.Model.VM.JJFlow
{
    ///<summary>
    ///jj_flow_stepVM对象
    ///</summary>
    public class JjFlowStepVM
    {
        public int Id { get; set; }
        
        /// <summary>
        /// 流程模板ID
        /// </summary>
        public int TemplateId { get; set; }

        /// <summary>
        /// 来源节点
        /// </summary>
        public int FromNode { get; set; }

        /// <summary>
        /// 去往节点
        /// </summary>
        public int ToNode { get; set; }

        /// <summary>
        /// 当前节点
        /// </summary>
        public int CurrentNode { get; set; }

        /// <summary>
        /// 任务ID
        /// </summary>
        public int InstanceId { get; set; }

        /// <summary>
        /// 当前节点审批人
        /// </summary>
        public string CurrentUser { get; set; }

        /// <summary>
        /// 是否满足条件
        /// </summary>
        public sbyte IsConditionSatified { get; set; }

        /// <summary>
        /// 条件信息
        /// </summary>
        public string ConditionName { get; set; }

        /// <summary>
        /// 类型
        /// </summary>
        public int StepType { get; set; }

        /// <summary>
        /// 对应BPM流程图里面节点ID
        /// </summary>
        public string BpmNodeid { get; set; }

        /// <summary>
        /// 条件类型2方法  1表达式
        /// </summary>
        public int ConditionType { get; set; }

        /// <summary>
        /// Remark
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 优先级：数字越大，优先级越高
        /// </summary>
        public int Priority { get; set; }
    }
}